package com.entrogy.bean;

/**
 * @Author 许红松
 * @date 2019/5/21 0021 上午 9:51
 */
public class Attendance {

    private String attendance_id;
    private String id;//唯一标示ID
    private String groupId;	//考勤组ID
    private String planId;	//排班ID
    private int school_code;//学校id
    private String recordId;	//打卡记录ID
    private String workDate;	//工作日
    private String userId;	//用户ID
    private String checkType;//考勤类型 OnDuty：上班  OffDuty：下班
    private String timeResult;//	时间结果 Normal：正常;Early：早退;Late：迟到; SeriousLate：严重迟到；Absenteeism：旷工迟到；NotSigned：未打卡
    private String locationResult;//	位置结果 Normal：范围内；Outside：范围外；NotSigned：未打卡
    private String baseCheckTime;//	计算迟到和早退，基准时间
    private String  userCheckTime;//	实际打卡时间,  用户打卡时间的毫秒数
    private String sourceType;//	数据来源 ATM：考勤机;BEACON：IBeacon; DING_ATM：钉钉考勤机; USER：用户打卡; BOSS：老板改签;  APPROVE：审批系统;  SYSTEM：考勤系统; AUTO_CHECK：自动打卡 FACE_CHECK：脸卡通
    private String approveId;//	关联的审批id，当该字段非空时，表示打卡记录与请假、加班等审批有关
    private String procInstId;//
    // 关联的审批实例id;//当该字段非空时，表示打卡记录与请假、加班等审批有关。可以与获取单个审批数据配合使用
    private int  stype;//1 早上上班 2 早上下班  3下午上班 4下午下班  5晚上上班  6晚上下班 7钉钉有效  8 无效
    private String departmentName;//部门名称
    private String userName;//姓名

    private int  isok;

    public int getIsok() {
        return isok;
    }

    public void setIsok(int isok) {
        this.isok = isok;
    }

    public int getStype() {
        return stype;
    }

    public void setStype(int stype) {
        stype = stype;
    }

    public String getDepartmentName() {
        return departmentName;
    }

    public void setDepartmentName(String departmentName) {
        this.departmentName = departmentName;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getAttendance_id() {
        return attendance_id;
    }

    public void setAttendance_id(String attendance_id) {
        this.attendance_id = attendance_id;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getGroupId() {
        return groupId;
    }

    public void setGroupId(String groupId) {
        this.groupId = groupId;
    }

    public String getPlanId() {
        return planId;
    }

    public void setPlanId(String planId) {
        this.planId = planId;
    }

    public int getSchool_code() {
        return school_code;
    }

    public void setSchool_code(int school_code) {
        this.school_code = school_code;
    }

    public String getRecordId() {
        return recordId;
    }

    public void setRecordId(String recordId) {
        this.recordId = recordId;
    }

    public String getWorkDate() {
        return workDate;
    }

    public void setWorkDate(String workDate) {
        this.workDate = workDate;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getCheckType() {
        return checkType;
    }

    public void setCheckType(String checkType) {
        this.checkType = checkType;
    }

    public String getTimeResult() {
        return timeResult;
    }

    public void setTimeResult(String timeResult) {
        this.timeResult = timeResult;
    }

    public String getLocationResult() {
        return locationResult;
    }

    public void setLocationResult(String locationResult) {
        this.locationResult = locationResult;
    }

    public String getBaseCheckTime() {
        return baseCheckTime;
    }

    public void setBaseCheckTime(String baseCheckTime) {
        this.baseCheckTime = baseCheckTime;
    }

    public String getUserCheckTime() {
        return userCheckTime;
    }

    public void setUserCheckTime(String userCheckTime) {
        this.userCheckTime = userCheckTime;
    }

    public String getSourceType() {
        return sourceType;
    }

    public void setSourceType(String sourceType) {
        this.sourceType = sourceType;
    }



    public String getApproveId() {
        return approveId;
    }

    public void setApproveId(String approveId) {
        this.approveId = approveId;
    }

    public String getProcInstId() {
        return procInstId;
    }

    public void setProcInstId(String procInstId) {
        this.procInstId = procInstId;
    }
}
